core: Add dynamic uncompressed object cache for archive-z
authorColin Walters <walters@verbum.org>
Thu, 11 Oct 2012 22:33:03 +0000 (18:33 -0400)
committerColin Walters <walters@verbum.org>
Thu, 11 Oct 2012 22:33:03 +0000 (18:33 -0400)
commitee73c0fa3487fe084c1b9b3d4e1fbb5c8225ae34
tree00f5073765ef38e40eb20e10785a5279a859e276
parent3c0fe011526db17ea0d71be32aea8cf579e4def6
core: Add dynamic uncompressed object cache for archive-z

This gives us something closer to the advantages of archive and
archive-z when using the latter.  Concretely we get deduplication
among multiple checkouts, along with the "devino" hash table trick
during commits to avoid checksumming content again.

This is enabled by default.
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/libotutil/ot-gio-utils.c
src/ostree/ot-builtin-checkout.c